package com.bitcat.wanandroidapp.demo

import android.os.Bundle
import android.widget.Toast
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import com.bitcat.base.core.BaseActivity
import com.bitcat.wanandroidapp.MainViewModel
import com.bitcat.wanandroidapp.R
import com.bitcat.wanandroidapp.databinding.ActivityTestViewBindingBinding

class TestViewBindingActivity : BaseActivity<MainViewModel, ActivityTestViewBindingBinding>() {
    override fun initView() {
        binding.clickBtn.setOnClickListener {
            Toast.makeText(this, "点击了", Toast.LENGTH_SHORT).show()
        }
    }

}